﻿using System;
namespace Hyfw.Model
{
	/// <summary>
	/// User:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class User
	{
		public User()
		{}
		#region Model
		private int _id;
		private string _userno;
		private string _username;
		private string _password;
		private int? _factoryid;
		private int? _role;
		private DateTime? _lastlogindate;
		private DateTime? _createdate;
		private string _remark;
		private string _msg1;
		private string _msg2;
		private string _msg3;
		private string _msg4;
		private string _msg5;
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 用户编号
		/// </summary>
		public string userNo
		{
			set{ _userno=value;}
			get{return _userno;}
		}
		/// <summary>
		/// 用户名
		/// </summary>
		public string userName
		{
			set{ _username=value;}
			get{return _username;}
		}
		/// <summary>
		/// 密码
		/// </summary>
		public string password
		{
			set{ _password=value;}
			get{return _password;}
		}
		/// <summary>
		/// 商户id
		/// </summary>
		public int? factoryId
		{
			set{ _factoryid=value;}
			get{return _factoryid;}
		}
		/// <summary>
		/// 角色0最高1高2普通
		/// </summary>
		public int? role
		{
			set{ _role=value;}
			get{return _role;}
		}
		/// <summary>
		/// 上次登录的时间
		/// </summary>
		public DateTime? lastLoginDate
		{
			set{ _lastlogindate=value;}
			get{return _lastlogindate;}
		}
		/// <summary>
		/// 创建的时间
		/// </summary>
		public DateTime? createDate
		{
			set{ _createdate=value;}
			get{return _createdate;}
		}
		/// <summary>
		/// 备注
		/// </summary>
		public string remark
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg1
		{
			set{ _msg1=value;}
			get{return _msg1;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg2
		{
			set{ _msg2=value;}
			get{return _msg2;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg3
		{
			set{ _msg3=value;}
			get{return _msg3;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg4
		{
			set{ _msg4=value;}
			get{return _msg4;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg5
		{
			set{ _msg5=value;}
			get{return _msg5;}
		}
		#endregion Model

	}
}

